/*
 *  infraredSensor.cpp
 *  project8
 *
 *  Created by Luca Gobbo on 21-06-10.
 *  Copyright 2010 __MyCompanyName__. All rights reserved.
 *
 */

#include "InfraredSensor.h"

InfraredSensor::InfraredSensor(){
	mkt_pin_direction(7, mkt_output);
}

int InfraredSensor::heartBeat(){
	return mkt_pin_read(7);
}